﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000D69 RID: 3433
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class PropAeonInfo : IMessage<PropAeonInfo>, IMessage, IEquatable<PropAeonInfo>, IDeepCloneable<PropAeonInfo>, IBufferMessage
	{
		// Token: 0x17002B89 RID: 11145
		// (get) Token: 0x06009A06 RID: 39430 RVA: 0x0019B4B1 File Offset: 0x001996B1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<PropAeonInfo> Parser
		{
			get
			{
				return PropAeonInfo._parser;
			}
		}

		// Token: 0x17002B8A RID: 11146
		// (get) Token: 0x06009A07 RID: 39431 RVA: 0x0019B4B8 File Offset: 0x001996B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return PropAeonInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002B8B RID: 11147
		// (get) Token: 0x06009A08 RID: 39432 RVA: 0x0019B4CA File Offset: 0x001996CA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return PropAeonInfo.Descriptor;
			}
		}

		// Token: 0x06009A09 RID: 39433 RVA: 0x0019B4D1 File Offset: 0x001996D1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PropAeonInfo()
		{
		}

		// Token: 0x06009A0A RID: 39434 RVA: 0x0019B4D9 File Offset: 0x001996D9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PropAeonInfo(PropAeonInfo other) : this()
		{
			this.dialogueGroupId_ = other.dialogueGroupId_;
			this.addExp_ = other.addExp_;
			this.aeonId_ = other.aeonId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06009A0B RID: 39435 RVA: 0x0019B516 File Offset: 0x00199716
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PropAeonInfo Clone()
		{
			return new PropAeonInfo(this);
		}

		// Token: 0x17002B8C RID: 11148
		// (get) Token: 0x06009A0C RID: 39436 RVA: 0x0019B51E File Offset: 0x0019971E
		// (set) Token: 0x06009A0D RID: 39437 RVA: 0x0019B526 File Offset: 0x00199726
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint DialogueGroupId
		{
			get
			{
				return this.dialogueGroupId_;
			}
			set
			{
				this.dialogueGroupId_ = value;
			}
		}

		// Token: 0x17002B8D RID: 11149
		// (get) Token: 0x06009A0E RID: 39438 RVA: 0x0019B52F File Offset: 0x0019972F
		// (set) Token: 0x06009A0F RID: 39439 RVA: 0x0019B537 File Offset: 0x00199737
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint AddExp
		{
			get
			{
				return this.addExp_;
			}
			set
			{
				this.addExp_ = value;
			}
		}

		// Token: 0x17002B8E RID: 11150
		// (get) Token: 0x06009A10 RID: 39440 RVA: 0x0019B540 File Offset: 0x00199740
		// (set) Token: 0x06009A11 RID: 39441 RVA: 0x0019B548 File Offset: 0x00199748
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint AeonId
		{
			get
			{
				return this.aeonId_;
			}
			set
			{
				this.aeonId_ = value;
			}
		}

		// Token: 0x06009A12 RID: 39442 RVA: 0x0019B551 File Offset: 0x00199751
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as PropAeonInfo);
		}

		// Token: 0x06009A13 RID: 39443 RVA: 0x0019B560 File Offset: 0x00199760
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(PropAeonInfo other)
		{
			return other != null && (other == this || (this.DialogueGroupId == other.DialogueGroupId && this.AddExp == other.AddExp && this.AeonId == other.AeonId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06009A14 RID: 39444 RVA: 0x0019B5BC File Offset: 0x001997BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.DialogueGroupId != 0U)
			{
				num ^= this.DialogueGroupId.GetHashCode();
			}
			if (this.AddExp != 0U)
			{
				num ^= this.AddExp.GetHashCode();
			}
			if (this.AeonId != 0U)
			{
				num ^= this.AeonId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06009A15 RID: 39445 RVA: 0x0019B62D File Offset: 0x0019982D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06009A16 RID: 39446 RVA: 0x0019B635 File Offset: 0x00199835
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06009A17 RID: 39447 RVA: 0x0019B640 File Offset: 0x00199840
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.DialogueGroupId != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.DialogueGroupId);
			}
			if (this.AeonId != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.AeonId);
			}
			if (this.AddExp != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.AddExp);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06009A18 RID: 39448 RVA: 0x0019B6B8 File Offset: 0x001998B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.DialogueGroupId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.DialogueGroupId);
			}
			if (this.AddExp != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.AddExp);
			}
			if (this.AeonId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.AeonId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06009A19 RID: 39449 RVA: 0x0019B728 File Offset: 0x00199928
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(PropAeonInfo other)
		{
			if (other == null)
			{
				return;
			}
			if (other.DialogueGroupId != 0U)
			{
				this.DialogueGroupId = other.DialogueGroupId;
			}
			if (other.AddExp != 0U)
			{
				this.AddExp = other.AddExp;
			}
			if (other.AeonId != 0U)
			{
				this.AeonId = other.AeonId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06009A1A RID: 39450 RVA: 0x0019B78C File Offset: 0x0019998C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06009A1B RID: 39451 RVA: 0x0019B798 File Offset: 0x00199998
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 56U)
				{
					if (num != 80U)
					{
						if (num != 104U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.AddExp = input.ReadUInt32();
						}
					}
					else
					{
						this.AeonId = input.ReadUInt32();
					}
				}
				else
				{
					this.DialogueGroupId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04003B49 RID: 15177
		private static readonly MessageParser<PropAeonInfo> _parser = new MessageParser<PropAeonInfo>(() => new PropAeonInfo());

		// Token: 0x04003B4A RID: 15178
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003B4B RID: 15179
		public const int DialogueGroupIdFieldNumber = 7;

		// Token: 0x04003B4C RID: 15180
		private uint dialogueGroupId_;

		// Token: 0x04003B4D RID: 15181
		public const int AddExpFieldNumber = 13;

		// Token: 0x04003B4E RID: 15182
		private uint addExp_;

		// Token: 0x04003B4F RID: 15183
		public const int AeonIdFieldNumber = 10;

		// Token: 0x04003B50 RID: 15184
		private uint aeonId_;
	}
}
